package com.qys.livesMall.shop.modal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author gmx
 * @since 2023-07-03
 */
@Data
@TableName("h2_seckill_activity")
@Schema(name = "SeckillActivity", description = "")
public class SeckillActivity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(description = "活动名字")
    private String activityName;

    @Schema(description = "展示位置1首页，2内页")
    private Integer activityLocaltion;
    @Schema(description = "商户种类0：全选1：正常店铺 2：水军店铺")
    private Integer shopType;

    @Schema(description = "开始时间")
    private long startTime;

    @Schema(description = "结束时间")
    private long endTime;

    @Schema(description = "预约时间分钟")
    private Integer appointment;

    @Schema(description = "创建时间")
    private long createTime;

    @Schema(description = "修改时间")
    private long updateTime;

    @Schema(description = "活动描述")
    private String description;

    @Schema(description = "商品搜索(前端透传参数)")
    private String goodsSearch;
}
